<script setup lang="ts">
defineProps<{
  loading?: boolean;
}>();
</script>

<template>
  <div class="page-skeleton">
    <a-skeleton :loading="loading" active :paragraph="{ rows: 8 }">
      <slot></slot>
    </a-skeleton>
  </div>
</template>

<style scoped lang="scss">
.page-skeleton {
  padding: 24px;
}
</style>
